package com.bby.user.service;

import com.bby.common.model.PmMessageDeal;
import com.bby.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "service-disk")
public interface DiskService {
    @PostMapping("admin/register")
    R register(@RequestParam String userId,@RequestParam String verification);

    @PostMapping("admin/dealPmMessage")
    Boolean dealPmMessage(@RequestParam PmMessageDeal deal);
}
